﻿using GrainManage.Entities.Trade;

namespace GrainManage.Interface
{
    public interface ITrade
    {

        //************************************************POST************************************************
        OutputGetByID GetByID(InputGetByID input);

        OutputGetDetailByContactID GetDetailByContactID(InputGetDetailByContactID input);

        OutputSearchDetail SearchDetail(InputSearchDetail input);

        OutputGetTotal GetTotal(InputGetTotal input);

        OutputGetTotalByArea GetTotalByArea(InputGetTotalByArea input);

        OutputGetTotalByContact GetTotalByContactArea(InputGetTotalByContact input);

        OutputInsert Insert(InputInsert input);

        OutputUpdate Update(InputUpdate input);

        OutputDelete Delete(InputDelete input);

        OutputBatchInsert BatchInsert(InputBatchInsert input);

        OutputBatchUpdate BatchUpdate(InputBatchUpdate input);

        OutputBatchDelete BatchDelete(InputBatchDelete input);
    }
}
